package com.lh.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import com.lh.pojo.Pic;



public interface PicMapper {
	
	public int insPic(Pic pic);
	
	@Select("select * from pic")
	public List<Pic> findAll();
	
	@Delete("delete from pic where id=#{id}")
	public int delPic(int id);
	
	public List<Pic> findAlls();
}
